package com.xu.tools.minio;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xuguan
 * @date 2023/1/24
 * @desc minio配置参数
 */
@Data
@ConfigurationProperties(prefix = "media.minio")
public class MinioProperties {
    /**
     * minio地址
     */
    private String endpoint;

    /**
     * minio密钥, 默认minioadmin/minioadmin
     */
    private String accessKey;

    private String secretKey;

    private String imageBucketName = "xuecheng-image";

    private String videoBucketName = "xuecheng-video";
}
